package 条件判断;

import java.util.Scanner;

public class D01 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入第一个数：");
        int a = sc.nextInt();
        System.out.println("请输入第二个数：");
        int s = sc.nextInt();
        int z = a + s ;
        int x = a - s ;
        int c = a * s ;
        int v = a / s ;
        int b = a % s ;
        System.out.println("这两数的和为：" + z );
        System.out.println("这两数的差为：" + x );
        System.out.println("这两数的积为：" + c );
        System.out.println("这两数的商为：" + v );
        System.out.println("这两数的模为：" + b );
    }
}
